package cn.xmy.demo01.pojo;

import java.io.Serial;
import java.io.Serializable;

public class Comment implements Serializable {
    @Serial
    private static final long serialVersionUID = -2857120547961007058L;
    private  String  cid; ;//'评论id';
     private  String post_id ;// '帖子ID';
     private  String uid  ;// '用户 ID，唯一标识，与 post 中的 uid 相同'  ;
     private  String commentMessage  ;// '评论内容';
     private  Integer Thumbsup  ;// '点赞数量';
     private  String createtime  ;// '创建日期'

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public String getPost_id() {
        return post_id;
    }

    public void setPost_id(String post_id) {
        this.post_id = post_id;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getCommentMessage() {
        return commentMessage;
    }

    public void setCommentMessage(String commentMessage) {
        this.commentMessage = commentMessage;
    }

    public Integer getThumbsup() {
        return Thumbsup;
    }

    public void setThumbsup(Integer thumbsup) {
        Thumbsup = thumbsup;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public Comment(String cid, String post_id, String uid, String commentMessage, Integer thumbsup, String createtime) {
        this.cid = cid;
        this.post_id = post_id;
        this.uid = uid;
        this.commentMessage = commentMessage;
        Thumbsup = thumbsup;
        this.createtime = createtime;
    }

    public Comment() {
    }
}
